package com.heart.house.biz.service;

import com.heart.house.biz.mapper.CityMapper;
import com.heart.house.common.model.City;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Luo Zhen
 * @create 2019-06-25 9:03
 */
@Service
public class CityService {

    @Autowired
    private CityMapper cityMapper;

    public List<City> findAll() {
        return cityMapper.findAll();
    }

}
